const path=require("path");//nodejs的路径模块

module.exports={
    entry:"./src/index.js",
    output:{//出口
        filename:"index.[hash].min.js",
        path:path.resolve(__dirname,"dist")
    },
    mode:"production"//生产环境
}